﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace DataProcessor.FlickrData
{
    public class FlickrDataProcessor
    {
        IEnumerable<string> lines;

        public FlickrDataProcessor(string metadatFile)
        {
            lines = File.ReadLines(metadatFile);

        }

        public void SaveSubset(string path)
        {
            File.WriteAllLines(path, lines.Take(20).ToList());
        }
    }
}
